import React, { Component } from "react";
// import "./viedo.css"
import { songList} from '../../../api'
import Header from "../header"
import { withRouter } from 'react-router-dom'


//antd mobile 菜单组件
import ListContainer from '../../../containers/listContainer'

class SongList extends Component {
    componentDidMount() {
        songList().then(res=>{
            console.log(res)
        })
    }
    state = {
        category: '歌单',
        data:'',
    }
    goback() {
        this.props.history.go(-1)
    }
    render() {
        return (
            <div>
                <Header category={this.state.category} goback={this.goback.bind(this)} />
                <ListContainer />
            </div>
        )
    }
}

export default withRouter(SongList)